CXX = g++
RM = rm -f
CAIRO = -I/usr/include/cairo -lcairo -lcairomm-1.0
OBJS = waveplot makeb3table makeFreqList rawhammond


waveplot: wave_atom.o wave_atom.h EXEwaveplot.cpp wave_plot.h
	$(CXX) wave_atom.o EXEwaveplot.cpp -o waveplot $(CAIRO) -lm

makeb3table: wave_atom.o EXEmakeb3table.cpp wave_atom.h
	$(CXX) wave_atom.o EXEmakeb3table.cpp -o makeb3table -lm

makeFreqList: makeFreqList.cpp
	$(CXX) makeFreqList.cpp -o makeFreqList -lm

rawhammond: EXErawhammond.cpp welltempMore.h key2wheel.h
	$(CXX) EXErawhammond.cpp -o rawhammond -lm

wave_atom.o: wave_atom.cpp wave_atom.h
	$(CXX) -c wave_atom.cpp -lm

clean:
	$(RM) $(OBJS) *.o
